package com.example.backend.service;

import com.example.backend.entity.Port;
import com.example.backend.entity.Company;
import java.util.List;

public interface PortService {
    int addPort(Port port);
    Port getPortById(Long id);
    List<Port> getAllPorts();
    int updatePort(Port port);
    int deletePort(Long id);
    List<Company> getCompaniesByPortId(Long portId);
    int addPortCompany(Long portId, Long companyId);
    int removePortCompany(Long portId, Long companyId);
} 